home *** CD-ROM | disk | FTP | other *** search
- Path: redstone.interpath.net!mercury!softbase
- From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
- Newsgroups: comp.lang.c
- Subject: Re: Tradition or what?
- Date: 15 Feb 1996 23:12:48 GMT
- Organization: Interpath -- Providing Internet access to North Carolina
- Message-ID: <4g0elg$mdr@redstone.interpath.net>
- NNTP-Posting-Host: mercury.interpath.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Erik van Renselaar writes:
-
- : Can anyone tell me what the use is of returning
- : the same value for the function and one of the
- : output parameters, like it is done in strcpy?
-
- Steve Maguire discusses this issue in Writing Solid Code. The
- randomness with which the C library's parameters and return code
- (0=success AND failure depending on the function!) conventions happened
- are bad because they influence people who look upon them as models.
- Reading Writing Solid Code is almost mandatory.
-
- Scott
-
-